//
//  LSZStateTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/5/9.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZStateTableViewCell.h"

@implementation LSZStateTableViewCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.labelState = [[UILabel alloc]init];
        self.labelState.backgroundColor = navColor;
        [self.labelState.layer setMasksToBounds:YES];
        [self.labelState.layer setCornerRadius:4];
        self.labelState.textColor = [UIColor whiteColor];
        self.labelState.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.labelState];
        
        if(ScreenWidth ==414){
            self.labelState.frame = CGRectMake(ScreenWidth-10-80, 9,80, 32);
        }else
        if(ScreenWidth ==375){
            self.labelState.frame = CGRectMake(ScreenWidth-10-80, 9,80, 32);
        }else{
            self.labelState.frame = CGRectMake(ScreenWidth-10-80,6,80,28);
        }
        self.labelState = [LSZSpecialPackaging setLabel_14_5_Size:self.labelState];
    }
    return self;
}

@end
